Fix an oversight
authorMatthias Clasen <mclasen@redhat.com>
Wed, 16 Oct 2013 01:29:06 +0000 (21:29 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Wed, 16 Oct 2013 01:30:35 +0000 (21:30 -0400)
Followup for 3c41d4865e230f41a3f4cb5f72e438a0788c7bb3

gtk/gtkicontheme.c

index a2cbf62958a7d851b4a539301b578dd6dab4608f..3fe95e77d153256bd7e989278ff495543e299acc 100644 (file)
@@ -3877,7 +3877,7 @@ gtk_icon_info_load_icon (GtkIconInfo *icon_info,
     {
       if (icon_info->load_error)
         {
-          if (*error)
+          if (error)
             *error = g_error_copy (icon_info->load_error);
         }
       else